-- GENERATED SPELL FOR [Spirit of Koosu] --


function spell0_29034(pUnit, Event) --@Poison Bolt,n/a--
pUnit:FullCastSpellOnTarget(21971,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29034', 12500, 1)
end

function Sorts_29034(pUnit, Event)
local choix_sorts_29034 = math.random(0, 0)
if choix_sorts_29034 == 0 then
pUnit:RegisterEvent('spell0_29034', 1, 1)
end
end

function mob29034_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29034', math.random(1500, 3000), 1)
end

function mob29034_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29034_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29034_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29034, 1, 'mob29034_Action')
RegisterUnitEvent(29034, 2, 'mob29034_Leave')
RegisterUnitEvent(29034, 3, 'mob29034_Kill')
RegisterUnitEvent(29034, 4, 'mob29034_Die')
